package com.model.demo.spring.mini.demo.service.impl;

import com.model.demo.spring.mini.demo.mvc.action.DemoAction;
import com.model.demo.spring.mini.demo.service.IDemoService;
import com.model.demo.spring.mini.demo.service.IIDemoService;
import com.model.demo.spring.mini.mvcframework.annotation.MyAutowired;
import com.model.demo.spring.mini.mvcframework.annotation.MyService;

/**
 * 核心业务逻辑
 */
@MyService
public class DemoService implements IDemoService , IIDemoService {
    @MyAutowired
    private DemoAction demoAction;

	public String get(String name) {
		return "My name is " + name;
	}

	@Override
	public void test() {
		System.out.println("testIIDemoService");
	}
}
